package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.math.BigDecimal;

/**
 * 商品推荐VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ProductRecommendVO", description = "商品推荐数据")
public class ProductRecommendVO {

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品副标题")
    private String subtitle;

    @ApiModelProperty(value = "商品主图")
    private String mainImage;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;
    
    @ApiModelProperty(value = "商品原价")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "商品销量")
    private Integer sales;
    
    @ApiModelProperty(value = "商品评分")
    private Double rating;
    
    @ApiModelProperty(value = "推荐原因")
    private String reason;
    
    @ApiModelProperty(value = "推荐类型")
    private String recType;
    
    @ApiModelProperty(value = "分类ID")
    private Long categoryId;
    
    @ApiModelProperty(value = "分类名称")
    private String categoryName;
} 